/**
 * date: 2011-5-18
 * author : Eason
 * description : 图片类影片剪辑数据.
 **/
package com.pickgliss.bitmapEngin.mode
{
	import com.pickgliss.bitmapEngin.cache.CacheFrame;

	public class BitmapMovieClipData
	{
		public var frames : Vector.<CacheFrame>;
		public var labels : Array;
		public var id:String;
		
		
		/**
		 * 是否初始化完成.该值标志了是否已经将影片剪辑中的每一帧都已经存入了frames.
		 */		
		private var _inited : Boolean;
		
		
		public function get inited():Boolean
		{
			return _inited;
		}
		public function set inited(value : Boolean):void
		{
			_inited = value;
		}
		public function dispose():void
		{
			for each(var frame : CacheFrame in frames){
				frame.bitmapData.dispose();
				frame.bitmapData = null;
			}
			frames = null;
		}
	}
}